FROM store/oracle/serverjre:8
MAINTAINER "foundation-platform"
VOLUME /tmp
ADD "/target/foundation-platform-0.0.1-SNAPSHOT.jar" "foundation-platform-0.0.1-SNAPSHOT.jar"
EXPOSE 8086
ENV JAVA_OPTS="-server -Xmx512m -Xms512m -Djava.awt.headless=true"
ENTRYPOINT ["sh", "-c","java $JAVA_OPTS -jar /foundation-platform-0.0.1-SNAPSHOT.jar"]
